import request from '@/utils/request'

/**
 * 注册
 * @param {*}} param
 */
export function read(workspaceId) {
  return request({
    url: '/api/share?workspaceId=' + workspaceId,
    method: 'get'
  })
}


/**
 * 注册
 * @param {*}} param
 */
export function save(param) {
  return request({
    url: '/api/share',
    method: 'post',
    data: param
  })
}
